package day7;

import day6.pet.Dog;

/**
 * @author oldliu
 * @since 1.0
 */
public class ChinaDog extends Dog {
    public ChinaDog(String name, int h, int l, String sex, String strain) {
        super(name, h, l, sex, strain);
    }

    @Override
    public void grap(Mouse m) {
        System.out.println("田园犬抓老鼠老厉害了。。。");
        super.grap(m);
    }
    //重写print
//    @Override
//    public void print() {
//        System.out.println("这是一只中华田园犬");
//        super.print();
//    }
}
